home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / SAMBA193.ZIP / smbdf.cmd < prev    next >
Encoding:
Text File  |  1996-01-10  |  284 b   |  10 lines

  1. /* Output Total and Avail space on current disk */
  2. PARSE ARG path
  3. '@echo off'
  4. tmpfile = "d:\tmp\smbdf.tmp"
  5. 'df 'path' >'tmpfile
  6. /* First line is headers - next comes data */
  7. line = LINEIN(tmpfile)
  8. PARSE VALUE LINEIN(tmpfile) WITH name size used free otherstuff
  9. SAY size free
  10.